{% if(videoHomes|length) %}
    <div class="row">
        <div class="page-header">
            <h3>
                <a href="">
                    {{ category.getName() }}
                </a>
            </h3>
        </div>
        <div>
            <div class="subtray">
                {% for videoHome in videoHomes %}
                    <div class="item">
                        <div class="thumbnail">
                            {% if(videoHome.getObjectType() == 'video') %}
                            <a href="{{url(videoHome.video.getLinkTo())}}">
                                {{ image(helper.getPathImageFromImageLink(videoHome.video.getMainImages() , '220_124')) }}
                                <div class="description">
                                    <div class="title">
                                        {{videoHome.video.videoDescription.getName()}}
                                    </div>
                                </div>
                            </a>
                            {% elseif(videoHome.getObjectType() == 'video_group') %}
                            <a href="{{url(videoHome.videoGroup.getLinkTo())}}">
                                {{ image(helper.getPathImageFromImageLink(videoHome.videoGroup.getMainImages() , '220_124')) }}
                                <div class="description">
                                    <div class="title">
                                        {{videoHome.videoGroup.videoDescription.getName()}}
                                    </div>
                                </div>
                            </a>
                            {% endif %}
                        </div>
                    </div>
                {% endfor %}
            </div>
        </div>
    </div>
{% endif %}